package com.huhao.wshare.Dynamic;

public class Comment {
    private final int id;
    private final Author author;
    private final String content;
    private final String createTime;

    public Comment(int id, Author author, String content, String createTime) {
        this.id = id;
        this.author = author;
        this.content = content;
        this.createTime = createTime;
    }

    public int getId() {
        return id;
    }

    public Author getAuthor() {
        return author;
    }

    public String getContent() {
        return content;
    }

    public String getCreateTime() {
        return createTime;
    }
}